<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%
	String sessionValidation = (String) session
			.getAttribute("sessionValidation");
	if (!(("validSession").equals(sessionValidation))) {
		request.setAttribute("errorMessage", "Session Timeout!");
%>
<jsp:forward page="Login.jsp" />
<%
	}
%>

<!-- BEANS DECLARATION -->
<jsp:useBean id="messageBean" scope="session"
	class="edu.uic.ids517.model.MessageBean">
</jsp:useBean>
<jsp:useBean id="dbaseBean" scope="session"
	class="edu.uic.ids517.model.DatabaseAccessBean"></jsp:useBean>
<jsp:useBean id="dbmsUserBean" scope="session"
	class="edu.uic.ids517.model.DbLoginBean"></jsp:useBean>
<jsp:useBean id="signupBean" scope="session"
	class="edu.uic.ids517.model.SignUpBean"></jsp:useBean>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome to UIC Data Mining Website!!!</title>
</head>
<body background="images/image1.jpg">
	<center>
		<h1>
			<font size="8" color="white">UIC Data Mining Tool</font>
		</h1>
		<br /> <br /> <br /> <a href="mainMenu.jsp"><font size="6"
			color="white">Home</font></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
			href="dbAccess.jsp"><font size="6" color="white">Database
				Access</font></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
			href="dataMiningTool.jsp"><font size="6" color="white">Data
				Mining Tool</font></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
			href="LogOut.jsp"><font size="6" color="white">Logout</font></a> <br />
		<hr>
		<br />
	</center>

	<form method="post" action="SignUpServlet">

		<table border="0">
			<thead>
				<tr>
					<th colspan="2"><font size="6" color="white">Enter
							Information Here</font></th>

				</tr>
				<tr></tr>
			</thead>
			<tbody>
				<tr>
					<td><font size="6" color="white">First Name</font></td>
					<td><input type="text" name="fname" value="" /></td>
				</tr>
				<tr>
					<td><font size="6" color="white">Last Name</font></td>
					<td><input type="text" name="lname" value="" /></td>
				</tr>
				<tr>
					<td><font size="6" color="white">UIN</font></td>
					<td><input type="text" name="uin" value="" /></td>
				</tr>
				<tr>
					<td><font size="6" color="white">User Name</font></td>
					<td><input type="text" name="uname" value="" /></td>
				</tr>
				<tr>
					<td><font size="6" color="white">Password</font></td>
					<td><input type="password" name="pass" value="" /></td>
				</tr>

			</tbody>
		</table>

		<br>&nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" value="Submit" />&nbsp;&nbsp;&nbsp;&nbsp;<input
			type="reset" value="Reset" /><br>
		<br> &nbsp;&nbsp;&nbsp;&nbsp;<font size="6" color="white">
			Already registered!!</font> <a href="UserLogin.jsp"><font size="6"
			color="white">Login Here</font></a>
	</form>

</body>
</html>